5ab7d1dd2e3b91b608a427ea400cc5d4c1fd3d6e,src/org/opendedup/sdfs/filestore/cloud/BatchAwsS3ChunkStore.java,BatchAwsS3ChunkStore,close,#,206

Before Change


			nmd.setContentLength(sz.length);
			nmd.setUserMetadata(md);
			try {
			s3Service.putObject(this.name, binm, new ByteArrayInputStream(sz), nmd);
			} catch (AmazonS3Exception e1) {
				if (e1.getStatusCode() == 409) {
					try {

After Change


				if (this.simpleMD)
					this.updateObject(binm, nmd);
				else
					s3Service.putObject(this.name, binm, new ByteArrayInputStream(sz), nmd);
			} catch (AmazonS3Exception e1) {
				if (e1.getStatusCode() == 409) {
					try {